
#include "Box.h"


Outbox::Outbox(std::set<int> parClients, std::set<PubPkt*> parPkts):
	pkts(parPkts),
	clients(parClients)

{ }


Outbox::~Outbox() {

}

std::set<int> Outbox::getClients()
{
    return clients;
}


std::set<PubPkt*> Outbox::getPkts()
{
    return pkts;
}

int Outbox::getNs() const
{
    return ns;
}

float Outbox::getWs() const
{
    return ws;
}

void Outbox::setNs(int ns)
{
    this->ns = ns;
}

void Outbox::setWs(float ws)
{
    this->ws = ws;
}

float Outbox::getLastPercentage() const
{
	return lastPercentage;
}

void Outbox::setLastPercentage(float lastPercentage)
{
	this->lastPercentage = lastPercentage;
}

Inbox::Inbox(int parClient, BackSubPkt* parPkt):
	client(parClient),
	subPkt(parPkt)
{ }


Inbox::Inbox(int parClient, UnSubPkt* parPkt):
	client(parClient),
	unSubPkt(parPkt)
{ }


Inbox::~Inbox() {

}







